home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_MagnifyingLens_Multip < prev    next >
Encoding:
Text File  |  2003-04-22  |  1.7 KB  |  54 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'Enlargement of a section of the image. Original idea: Angela M. Cable.',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.17125,0.0616667,0.82375,0.931667), 
  15.         'Darkness': 100, 
  16.         'Defocus': 10, 
  17.         'Frame': {
  18.             'FrameColor': (255,255,255), 
  19.             'Material': App.Constants.LensFrameMaterial.ClearPlastic, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 1
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (211,100,0), 
  26.                 'LightDirection': (0.4467,0.0021,0.6113), 
  27.                 'HighlightSize': 20
  28.                 }], 
  29.             'MaxAmbience': 44, 
  30.             'MinAmbience': 44
  31.             }, 
  32.         'LensSurface': {
  33.             'EnvironmentMap': {
  34.                 'Active': App.Constants.Boolean.false
  35.                 }, 
  36.             'Gloss': 5, 
  37.             'Magnification': 83, 
  38.             'LensMaterial': {
  39.                 'Color': (151,205,145), 
  40.                 'Pattern': None, 
  41.                 'Gradient': None, 
  42.                 'Texture': None
  43.                 }, 
  44.             'LensOpacity': 4, 
  45.             'Refraction': 5, 
  46.             'ShapeType': App.Constants.LensShape.HCylindrical, 
  47.             'Shininess': 53
  48.             }
  49.         }
  50.  
  51. def Do(Environment):
  52.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  53.  
  54.